import request from "@/utils/request";

// 查询品类店铺月目标列表
export function listBiCategoryTargetMonth(query) {
  return request({
    url: "/productStructure/BiCategoryTargetMonth/list",
    method: "get",
    params: query,
  });
}

// 查询品类店铺月目标详细
export function getBiCategoryTargetMonth(id) {
  return request({
    url: "/productStructure/BiCategoryTargetMonth/" + id,
    method: "get",
  });
}

// 新增品类店铺月目标
export function addBiCategoryTargetMonth(data) {
  return request({
    url: "/productStructure/BiCategoryTargetMonth",
    method: "post",
    data: data,
  });
}

// 修改品类店铺月目标
export function updateBiCategoryTargetMonth(data) {
  return request({
    url: "/productStructure/BiCategoryTargetMonth",
    method: "put",
    data: data,
  });
}

// 删除品类店铺月目标
export function delBiCategoryTargetMonth(id) {
  return request({
    url: "/productStructure/BiCategoryTargetMonth/" + id,
    method: "delete",
  });
}
